
cd ..\002_CodeFiles\GroovyScriptExample\
mvn clean package
cd .\target\

# 命令模式
docker run -itd -p 9090:8080 -m 2048M --name groovyJava java:8 
docker cp .\GroovyScriptExample-0.0.1-SNAPSHOT.jar groovyJava:/usr/GroovyScriptExample-0.0.1-SNAPSHOT.jar
docker exec -i groovyJava java -jar /usr/GroovyScriptExample-0.0.1-SNAPSHOT.jar -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
docker run -itd -p 9091:8080 -m 2048M --name nashornJava java:8 
docker cp .\GroovyScriptExample-0.0.1-SNAPSHOT.jar nashornJava:/usr/GroovyScriptExample-0.0.1-SNAPSHOT.jar
docker exec -i nashornJava java -jar /usr/GroovyScriptExample-0.0.1-SNAPSHOT.jar

# 构建文件模式

